package com.tuozixuan.spring6.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.tuozixuan.spring6.service.User4Service;

@Controller
public class User4Controller {

	private User4Service user4Service;
	
	public User4Controller(@Autowired User4Service user4Service) {
		this.user4Service = user4Service;
	}

	public void out() {
		user4Service.out();
		System.out.println("Controller层执行结束。");
	}
}
